package com.yc.backstage.service;

import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * @Classname ExcelService
 * @Description 导入导出
 * @Version 1.0.0
 * @Date 2022/9/1 10:48
 * @Created by Mikechen
 */
public interface ExcelService {
    /**
     * 导入用户数据
     */
    void importData(MultipartFile file) throws IOException;

    /**
     * 导出用户数据
     */
    String exportUser(HttpServletResponse response) throws IOException;
}
